﻿using System.ComponentModel.DataAnnotations;

namespace Bot.Domain
{
    public class CategoryDto
    {
        public int Id { get; set; }

        [Required]
        [MaxLength(256)]
        public string Name { get; set; }

        public int Index { get; set; }

        public int ParentId { get; set; }

    }
}
